]> dgit.raspbian.org Git - gnome-shell.git/commit
gdm/loginDialog: Reset the greeter proxy on connection closed
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 17 Sep 2025 16:26:17 +0000 (18:26 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 5 Feb 2026 16:09:29 +0000 (17:09 +0100)
commitd70564057029ccb4f9f175d73ec0920337d6e856
treeb7bb7a80c0e0d1584ea120dea160ed460d0138dc
parent7d3ec9cc45186cbcd6a7bbe15ac4d98120549657
gdm/loginDialog: Reset the greeter proxy on connection closed

If gdm fails to start the display session the greeter proxy we are using
gets disconnected, however since commit 56ea95f2 we are now preserving
the greeter instance, and this will eventually lead to using an instance
of a disconnected proxy.

This eventually implies that after a login failure, we would never get
the `::session-opened` signal that actually triggers the session start.

And thus, even the user has properly authenticated, gdm will stick to
the authentication page.

So, instead of reverting such commit (that isn't wrong per se), consume
the greeter proxy connection `::closed` signal and use it to
re-initialize the greeter instance.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3885>
(cherry picked from commit ed6531fa79a67309f786893321c4b7af23f9d651)
js/gdm/loginDialog.js